<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport"
		content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<link rel="stylesheet" type="text/css" href="css/element-ui.css?v=1.0" />
	<link rel="stylesheet" type="text/css" href="css/example.css?v=1.0" />
	<link rel="stylesheet" type="text/css" href="css/weui.min.css?v=1.0" />
	<link rel="stylesheet" type="text/css" href="css/public.css?v=2.0" />
	<link rel="stylesheet" type="text/css" href="css/login.css?v=4.0" />
	<title>找回密码</title>
</head>

<body>
	<div id="errorTip"></div>
	<div id="main">
		<div class="ub-login">
			<div class="ub-loginTitle">找回密码</div>
			<!-- 获取手机验证码 -->
			<div class="ub-loginContent" v-show="type == 1">
				<div class="ub-loginInput">
					<input type="text" v-model="phone" placeholder="请输入手机号">
					<div class="ub-loginPassword">
						<input type="text" v-model="sms_code" placeholder="请输入验证码">
						<a @click="isDese == false?obtainBtn():''" role="button" class="weui-btn weui-btn_primary"><span
								v-cloak>{{obtain}}</span></a>
					</div>
				</div>
				<div class="ub-loginSwitch3">
					<a @click="validation()" role="button" class="weui-btn weui-btn_primary">下一步</a>
				</div>
			</div>
			<!-- 新密码，密码确认 -->
			<div class="ub-loginContent" v-show="type == 2" v-cloak>
				<div class="ub-loginInput">
					<input type="password" v-model="password" placeholder="请输入新密码">
					<p>密码要求至少8位，包含大小写，数字或特殊字符</p>
					<input type="password" v-model="repeatPassword" placeholder="请再次输入新密码">
				</div>
				<div class="ub-loginSwitch3">
					<el-button @click="resetPwd()" type="primary" role="button" class="weui-btn weui-btn_primary"
						:loading="loading">确认</el-button>
				</div>
			</div>
		</div>
	</div>

	<script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/vue.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/element-ui.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
	<script src="js/jweixin-1.6.0.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/jwt-decode.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/cHttp.js?v=1.0.0" type="text/javascript" charset="utf-8"></script>
	<script src="js/passForget.js?b=1.0.1" type="text/javascript" charset="utf-8"></script>
	<!-- <script src="js/wxPublic.js" type="text/javascript" charset="utf-8"></script> -->
</body>

</html>